package com.cl.utility.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author liddhappy
 * @description demo
 * @date 2022/11/10 22:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Student implements Serializable {
    private static final long serialVersionUID = 7906828868467432175L;
    private Long number;
    private String name;
    @Size(max = 100)
    private Integer age;
    private String sex;
    @Length(max = 30)
    private String address;
}
